package cn.lcc.utils.core.utils;

import ws.schild.jave.Encoder;
import ws.schild.jave.EncoderException;
import ws.schild.jave.MultimediaObject;
import ws.schild.jave.encode.AudioAttributes;
import ws.schild.jave.encode.EncodingAttributes;
import ws.schild.jave.info.AudioInfo;
import ws.schild.jave.info.MultimediaInfo;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class HexConversion {
// 2321414d520a04efbfbd09efbfbdefbfbd7d04efbfbdefbfbd6018440004efbfbd337e73efbfbd18cbad2212efbfbd044e11efbfbdefbfbd33efbfbdefbfbd28efbfbd4defbfbd3a044e27efbfbdc3ab6a55efbfbdefbfbdefbfbdefbfbdefbfbd04efbfbdefbfbdefbfbd1aefbfbd3e0a4aefbfbdefbfbd4404efbfbd27efbfbdefbfbd7b6675efbfbd22efbfbdefbfbd6004efbfbd42efbfbd383befbfbd65efbfbd26efbfbdefbfbd7a04efbfbd0cefbfbdefbfbd730263efbfbdefbfbdefbfbdefbfbd3c04536560efbfbd13efbfbdefbfbdefbfbdefbfbdefbfbd6e0437efbfbd2fefbfbdefbfbd2defbfbd4fefbfbd1706efbfbd0455efbfbd5c09efbfbd0eefbfbdefbfbd6b08efbfbd1204efbfbd6146efbfbdefbfbdefbfbdefbfbdefbfbdefbfbd7b534c04efbfbdefbfbd78efbfbdefbfbd495a4e4eefbfbd1404482e70efbfbdefbfbdefbfbd595eefbfbd72d6aa04efbfbd0f777d05ddb3efbfbdefbfbdefbfbd4e6b260448efbfbd72efbfbdefbfbd1f5649d096efbfbdefbfbd04efbfbdefbfbd76efbfbdefbfbdf3b68baf495c6e04efbfbdefbfbd77efbfbdefbfbd7774efbfbd3f217d01efbfbd04efbfbdefbfbd79efbfbdefbfbdefbfbdefbfbdcdb204efbfbdefbfbd041eefbfbd7aefbfbdefbfbdefbfbdefbfbd28efbfbd78557e047d05317aefbfbdefbfbdceb4efbfbd26efbfbd4defbfbd0425437a6defbfbdefbfbd7d022b16efbfbd62041d2979efbfbdefbfbdefbfbd45efbfbd41401f7e0425efbfbd76efbfbdefbfbd6b50cdbfefbfbd42efbfbd0425efbfbd726eefbfbdefbfbdefbfbd62efbfbdefbfbd045aefbfbd72efbfbdefbfbd5a78efbfbdefbfbdefbfbdefbfbd041defbfbd71efbfbdefbfbd562defbfbd1211efbfbd320425efbfbd6eefbfbdefbfbd7d01efbfbd126befbfbd5e6a041defbfbd76efbfbdefbfbdefbfbd6eefbfbdefbfbdefbfbd63efbfbd041d077eefbfbdefbfbd166fefbfbdefbfbd1673020452efbfbdefbfbd0fefbfbd67efbfbdefbfbdefbfbd0738efbfbd04efbfbd47efbfbd2fefbfbdefbfbd4252efbfbdefbfbdefbfbd28042eefbfbdefbfbd3fefbfbdefbfbd3eefbfbdefbfbd39efbfbd7d0504044530efbfbdefbfbd2f5e6ac5882f04042e69efbfbd39efbfbd4e6aefbfbdefbfbd00efbfbd1404efbfbdefbfbdefbfbdefbfbdefbfbd6a36efbfbd050defbfbd7a041eefbfbd60efbfbdefbfbdefbfbd567d03efbfbd13efbfbd5804efbfbdefbfbd675fefbfbdefbfbd373560660d4c04efbfbdefbfbd6defbfbde99890efbfbdefbfbdefbfbdefbfbdefbfbd0448106f3cefbfbdefbfbdefbfbd7eefbfbd18efbfbd540448efbfbd6defbfbdefbfbdefbfbdefbfbdefbfbdefbfbd5cca940448376eefbfbdefbfbdefbfbd1aefbfbdefbfbd68efbfbd5e0448426f1eefbfbdefbfbdefbfbd7d02efbfbd64efbfbdefbfbd040e6b6cefbfbdefbfbdefbfbdefbfbdefbfbd1eefbfbd4befbfbd041d73677cefbfbdefbfbdefbfbdefbfbd6c364d5a04efbfbd116eefbfbdefbfbdefbfbdefbfbd77efbfbd3864efbfbd045aefbfbd72efbfbdefbfbdefbfbd567d05efbfbdefbfbd0d3a041d1273efbfbdefbfbd5766474e70efbfbd7a043eefbfbd773eefbfbdefbfbd67ca8b3defbfbd56041defbfbdefbfbdefbfbddeaa1f557d01efbfbd436404efbfbd6b7d01efbfbddcafefbfbd1722efbfbd76047d05efbfbd7e6eefbfbdefbfbdefbfbd3cefbfbdefbfbdefbfbdefbfbd045a0a7a6eefbfbdefbfbdefbfbd7d04efbfbdefbfbd35efbfbd047d026b753fefbfbd74efbfbdefbfbdcb8f27180410efbfbdefbfbdefbfbdefbfbdefbfbdefbfbd33550356efbfbd043cefbfbd72efbfbdd48f594c6cefbfbd2d02044e2d767fefbfbdefbfbd55efbfbdefbfbdefbfbdefbfbdefbfbd04efbfbd35766fefbfbdefbfbd69efbfbdefbfbd340b340447357b58efbfbd55efbfbd67efbfbdefbfbd24efbfbd041eefbfbd766cefbfbd1fefbfbd5aefbfbdefbfbd04efbfbd3d78efbfbdefbfbd29efbfbd2fefbfbdefbfbdefbfbd04efbfbdefbfbd76efbfbdd48d29747e11efbfbd4e04efbfbd6eefbfbdefbfbd29efbfbd6842efbfbd1eefbfbd0404efbfbd2f7d01efbfbdefbfbd6532efbfbd620554043e2f7b3c705aefbfbd721c2100efbfbd04efbfbd2f73deaa4238efbfbd76306befbfbd041d4e7befbfbdefbfbd33efbfbdefbfbdefbfbdefbfbd1c041defbfbd7b3eefbfbdefbfbd18efbfbdefbfbdd89cefbfbd04254e7cefbfbdefbfbd3fefbfbd1c7b4aefbfbd045aefbfbd7befbfbdc9ad50234fefbfbdefbfbd6804efbfbdefbfbd6defbfbd164830efbfbdefbfbdefbfbd14043befbfbd79efbfbdefbfbdefbfbdefbfbdefbfbd04060425efbfbd71efbfbdefbfbdefbfbdefbfbd4d7d05efbfbd1defbfbd04efbfbd6b6aefbfbdefbfbdefbfbd6befbfbddc8fefbfbd0004540a6fcf835a23efbfbd23efbfbd051c04257aefbfbd59efbfbd6279d5a17731efbfbd040fefbfbd0738efbfbd75efbfbd2b1713efbfbdefbfbd0431efbfbd47efbfbdefbfbdefbfbdefbfbdefbfbd777471efbfbd04efbfbd0321efbfbdefbfbdefbfbd32efbfbd37efbfbdefbfbd36040c28efbfbd5fefbfbdefbfbd7d05efbfbd2eefbfbd03080462efbfbd1fefbfbdefbfbdefbfbdefbfbdefbfbdefbfbd714604efbfbdefbfbd70efbfbdefbfbdefbfbd56efbfbd7414efbfbdefbfbd0471efbfbd7cefbfbdefbfbd1f2606efbfbd47731e04486275efbfbdefbfbd796aefbfbdefbfbdefbfbd0204efbfbd577cdfab4cefbfbdefbfbd19efbfbd392604efbfbdcc883cefbfbdefbfbd3903efbfbdefbfbd2befbfbd04efbfbdefbfbdefbfbd0eefbfbd65efbfbdefbfbd3c15efbfbdefbfbd04614d20efbfbdefbfbd63efbfbd6f02efbfbd2f2804efbfbd6f0b0fefbfbd461aefbfbd66efbfbd7d04efbfbd04efbfbdefbfbdefbfbdefbfbdefbfbd33d4b84cefbfbd0b4c04efbfbdefbfbd73efbfbdefbfbdefbfbdefbfbdd5a3262804efbfbdefbfbd7aefbfbdefbfbd09efbfbd7aefbfbdefbfbdefbfbd5e04efbfbd32efbfbd7fefbfbdefbfbd773b3342d49e04efbfbd057fefbfbdefbfbdefbfbdefbfbdefbfbd22efbfbdefbfbd36040f0befbfbd3eefbfbdcf9cefbfbdefbfbd692befbfbd04efbfbd54efbfbdefbfbdefbfbdefbfbd1e39efbfbd271404efbfbd0e0befbfbdefbfbd430a74efbfbdefbfbdefbfbd047d056e633fefbfbdefbfbdd1a2efbfbdefbfbd0aefbfbd04efbfbd2d75efbfbdefbfbdefbfbd16efbfbd652e276404efbfbd606f4eefbfbd57efbfbd15efbfbdefbfbd30efbfbd04546374efbfbdefbfbdefbfbdefbfbd3d2b7d01efbfbd04546079efbfbdefbfbd3aefbfbdefbfbdefbfbd1c3d7d0504efbfbd7aefbfbdd4aa69434defbfbd56640442efbfbd7cefbfbdefbfbdefbfbd47784c2157efbfbd0423cf884fefbfbdefbfbd567d02681039efbfbd0442efbfbd7aefbfbdefbfbd7d05efbfbd0f502017efbfbd041e1d7aefbfbdefbfbddf98224eefbfbdefbfbdefbfbd041eefbfbd7f59efbfbdefbfbd6befbfbdefbfbdefbfbdefbfbd04421d7aefbfbde0be964befbfbd40efbfbdefbfbd044209772eefbfbdefbfbdcabb54efbfbd430204efbfbdefbfbd73efbfbdd7897c243d472eefbfbd04efbfbd0978efbfbdefbfbdefbfbd1948693f0e3204543576efbfbdefbfbd14efbfbd027502efbfbdefbfbd04546376efbfbdefbfbd53efbfbd6cefbfbd11efbfbd3204efbfbdefbfbd76efbfbdefbfbd56efbfbd20594befbfbd0c04efbfbdefbfbd75efbfbdefbfbdefbfbdefbfbd21efbfbd3c2defbfbd047d02efbfbd6eefbfbdefbfbdefbfbd56efbfbd66efbfbd720442efbfbd6e7eefbfbdefbfbd55d6be4703efbfbd04efbfbd7d05743eefbfbd70efbfbd37efbfbdefbfbd67efbfbd04d3ac6e6defbfbdefbfbd41efbfbd4548051c04efbfbdefbfbd72efbfbdd982efbfbdefbfbdefbfbd7d03efbfbd16041defbfbd733fefbfbd75efbfbd54efbfbdefbfbd430c04efbfbd4e74efbfbdefbfbd1b3defbfbdefbfbd41efbfbdefbfbd047d05efbfbd71efbfbde7aebdefbfbd51092904043eefbfbd75efbfbdefbfbdefbfbd4cd6b1efbfbd220454efbfbd77efbfbdefbfbdd5bb69efbfbd68efbfbd0204efbfbd6eefbfbd693befbfbd13d1a5c78c041e66efbfbdefbfbdefbfbd070a3912203cefbfbd04347e7f0eefbfbd2639efbfbdefbfbdefbfbd78efbfbd04efbfbd4732efbfbdefbfbdefbfbd52efbfbd4568efbfbd4c0475efbfbd77efbfbdefbfbd7e23184364446e04693c176eefbfbd6e22efbfbdefbfbd2defbfbdefbfbd043e12efbfbd29efbfbd4e70efbfbd182d6fefbfbd041d0768efbfbdefbfbdefbfbdefbfbd39efbfbd54efbfbd5e04efbfbd186eefbfbdefbfbdefbfbdefbfbd3aefbfbdefbfbd6f2e04efbfbdefbfbd727eefbfbdefbfbdefbfbd2e7d0546efbfbdefbfbd0447efbfbd76efbfbdefbfbdefbfbd634c5eefbfbd58efbfbd0471efbfbd72efbfbdefbfbd3e0c2eefbfbd14777d050471efbfbd72efbfbdefbfbd5e604fefbfbdefbfbd11efbfbd04efbfbdefbfbd726cefbfbdefbfbd5aefbfbdefbfbd396804efbfbdefbfbd72efbfbdefbfbdefbfbd5cefbfbd3174efbfbdefbfbd041d3275efbfbdefbfbdefbfbdefbfbd4aefbfbd4defbfbd7c0410efbfbd76efbfbdefbfbdefbfbdefbfbdefbfbd7aefbfbd1a360423efbfbd766eefbfbdefbfbdd19aefbfbdc8953c0423efbfbd72efbfbdefbfbdefbfbdefbfbdefbfbd7d05efbfbd0404100a72efbfbdefbfbd54efbfbdefbfbd05efbfbd4c04efbfbd0a72efbfbdefbfbdefbfbd202defbfbd523f0e04efbfbd377269efbfbdefbfbd5ec7a8efbfbd16043c1171efbfbdefbfbd4d77efbfbdd4ab3d1404efbfbd09726defbfbdefbfbd50efbfbd3668efbfbd7204464b71efbfbdefbfbdefbfbdc5b94befbfbd5804192d72efbfbdefbfbd7befbfbd31efbfbd6f58efbfbd04324b6f2fefbfbdefbfbd5eefbfbd646109efbfbd04704f6eefbfbdefbfbdefbfbd5e12efbfbd65efbfbdefbfbd04efbfbdefbfbd6e6defbfbd02efbfbd68efbfbdefbfbd1004701d696ed9abefbfbdefbfbd20efbfbd10efbfbd04efbfbdefbfbd66efbfbdefbfbdefbfbdefbfbd53efbfbdefbfbdefbfbd04efbfbdefbfbd62efbfbdd9ac6f274aefbfbd1befbfbd04efbfbdefbfbd62efbfbdefbfbdefbfbd575545efbfbdefbfbdefbfbd0447efbfbd633befbfbd4320efbfbd7d026aefbfbd22041eefbfbd66efbfbdefbfbdefbfbdefbfbd3c3eefbfbdefbfbd0a04efbfbdefbfbd7b31efbfbdefbfbd7d02c3a4d3831404efbfbd49efbfbdefbfbdefbfbd33efbfbd5f2defbfbd73efbfbd04efbfbdefbfbd53d890efbfbdefbfbdefbfbd77304604efbfbdefbfbd5a1fefbfbdd88cefbfbdefbfbdefbfbdefbfbd1c04efbfbdefbfbd0befbfbdefbfbd14470cefbfbdda8a04efbfbdefbfbd280fefbfbd56381aefbfbdefbfbd0468efbfbd3e5cefbfbdefbfbd1737c48eefbfbd02041defbfbd3cefbfbdefbfbdefbfbdefbfbd05efbfbd1cefbfbd0402efbfbd5aefbfbdefbfbdefbfbd7d056befbfbd56c4bc04efbfbdefbfbd5eefbfbdefbfbdefbfbd6f3f41efbfbdefbfbdefbfbd047d050165efbfbdefbfbd425542efbfbd1622efbfbd04efbfbd1078efbfbdefbfbd6defbfbd49efbfbd30571404efbfbdefbfbd6b7eefbfbd1e077d01efbfbd070434047d05efbfbdefbfbd73efbfbd7eefbfbdcda428efbfbdefbfbd043eefbfbd377eefbfbdefbfbdefbfbdefbfbd0cd7ba04023134efbfbdefbfbdefbfbdefbfbd4969360defbfbd04026cefbfbd1fefbfbd7aefbfbd64537d04000004efbfbd120f1f3defbfbd4aefbfbd761434efbfbd04efbfbd6b0cefbfbdefbfbd2eefbfbd3e4b077d030804efbfbd6b20efbfbdefbfbd6cefbfbdefbfbdefbfbd36efbfbdefbfbd04676b3079efbfbd024aefbfbdefbfbdefbfbd21060460efbfbd20efbfbd28efbfbd6e2860efbfbd00047d02efbfbd4b3cefbfbd01efbfbdefbfbdefbfbdefbfbd690a041b0776c39b1defbfbd430250efbfbdefbfbd0401efbfbd1e7713efbfbdefbfbd731342efbfbdefbfbd047d026c233510efbfbd1b430655efbfbd1a040108efbfbd0713efbfbdefbfbddeb2200018040042efbfbdefbfbd3cefbfbd1259efbfbdefbfbd02460401efbfbd176703efbfbd1bcabd642fefbfbd041a42efbfbd232befbfbdefbfbdefbfbd231cefbfbd047d027d05efbfbd781b123441efbfbdefbfbd3f5604101441efbfbd14efbfbdefbfbd3befbfbd58efbfbd7d04043c00efbfbdefbfbd6cefbfbdefbfbd0f6e6cefbfbdefbfbd045a7444304b37efbfbdefbfbdefbfbdefbfbd1804426b3defbfbd7d04697d0548d2b67e5e04efbfbdefbfbd482b7c43efbfbdefbfbdefbfbd4aefbfbd7d04041eefbfbd41efbfbd66efbfbdefbfbdcab2efbfbd100442efbfbdefbfbd4253efbfbdefbfbd4ccbb45204232eefbfbd3c277275efbfbdefbfbd464e04efbfbd372fefbfbd5314efbfbdefbfbdefbfbd0eefbfbd5c041009efbfbd05662f0623695120740470efbfbd0f293cefbfbd2defbfbd4a01583a047010efbfbd45681cefbfbd607d054f083204324befbfbd1befbfbdefbfbd6aefbfbdefbfbd34efbfbd04706618efbfbd28efbfbd2befbfbd64efbfbd2defbfbd04efbfbdefbfbd2befbfbd16efbfbd5566efbfbd3f3816041017efbfbd450befbfbdefbfbd7d05efbfbd683e040014efbfbdefbfbd3befbfbdefbfbd69efbfbd15efbfbd4004efbfbd51efbfbd021635efbfbd4aefbfbd113befbfbd04efbfbd0a27efbfbd1befbfbdefbfbd75efbfbd7000efbfbd04efbfbd1227efbfbd1bc8b4efbfbdefbfbd6040efbfbd04341a5eefbfbd1cefbfbdefbfbdefbfbdefbfbd1defbfbd2e04580aefbfbd0318667b0731efbfbd32efbfbd04efbfbd6cefbfbdefbfbd7d0215c4bfefbfbd493c0c04d29eefbfbd3023efbfbd3aefbfbdefbfbdefbfbd5eefbfbd0418efbfbd12efbfbd1befbfbdefbfbd6befbfbd20497804180938efbfbd2befbfbdefbfbdefbfbdefbfbdefbfbd1d6a043273efbfbd6263efbfbd4defbfbdd294efbfbd0418efbfbd38efbfbd00efbfbd1a6befbfbd53efbfbdefbfbd04686cefbfbd5327efbfbdefbfbd3cefbfbd4fefbfbdefbfbd04780768261c62efbfbdefbfbdefbfbdefbfbd526404efbfbd6c34efbfbd2eefbfbdefbfbd4fefbfbd24c6a804efbfbd42efbfbdefbfbd1b7d0354efbfbdefbfbdefbfbd08380470efbfbd1fefbfbd3e6befbfbdefbfbd3d3408efbfbd043cefbfbdefbfbd323befbfbdefbfbdefbfbdefbfbd4648240452efbfbdefbfbd100475332befbfbd6cefbfbd48045f1eefbfbdefbfbd3849efbfbd7d01efbfbd430112041053efbfbdefbfbd46efbfbdefbfbdefbfbde0aaa8efbfbd04efbfbd1e45304b3cefbfbd35efbfbd4562efbfbd0423002fefbfbd1d52efbfbd36efbfbd13491c041066540523efbfbdefbfbd6151437f3a0410efbfbdefbfbd0206efbfbdd4afefbfbd4304efbfbd04efbfbd51efbfbdefbfbd18efbfbdefbfbd71efbfbd3815efbfbd04522257efbfbd08efbfbdefbfbdefbfbd6eefbfbdefbfbd14043c0fefbfbdefbfbd08efbfbdefbfbd19efbfbdefbfbd6a04efbfbd7d0139efbfbd014eefbfbd31efbfbdefbfbdefbfbdefbfbd04efbfbdefbfbd0353efbfbd7843efbfbdefbfbd240c5204ed899a4a31efbfbdefbfbd10d8aa28efbfbd04efbfbdefbfbd73db81efbfbd36efbfbdefbfbd52efbfbd660420562208efbfbd34efbfbd7965dabf0e04683b275539e883b3efbfbd706b2004efbfbd7aefbfbd24efbfbdefbfbdefbfbdefbfbdefbfbd33d89e04efbfbd66efbfbd47790252efbfbdefbfbdefbfbdefbfbd220442efbfbd44efbfbdefbfbd78d5b00d7fefbfbdefbfbd045aefbfbd730fefbfbdefbfbdefbfbdc49c0b5c1e041a2b64efbfbdefbfbdefbfbd76793b0b600a0467736a7fefbfbdefbfbd1eefbfbd7d036befbfbdefbfbd041a4b6aefbfbdefbfbdefbfbdefbfbd1b4defbfbd7d02efbfbd0429efbfbd73efbfbdefbfbdefbfbd76016cefbfbd7d013204efbfbd4b7aefbfbdefbfbd6f27efbfbd7017efbfbd7d0504efbfbde4a18eefbfbdefbfbd02efbfbd2dd6b7efbfbd04184befbfbdefbfbdefbfbdefbfbdefbfbd6a57efbfbdefbfbd04efbfbd2b67efbfbdefbfbdefbfbd2e03efbfbd48cdb4041aefbfbd5cefbfbdefbfbdefbfbdefbfbd40c4b4787d050425efbfbd7d02efbfbdefbfbdefbfbd57efbfbdefbfbd0234045f7d0567efbfbdefbfbddbac424aefbfbd7f1c042defbfbd69efbfbdefbfbdefbfbdefbfbd70efbfbd75efbfbd04027362efbfbdefbfbdefbfbd3aefbfbdefbfbdefbfbd6befbfbd04221167efbfbdefbfbdefbfbd7a062e1c08efbfbd042d5f6aefbfbdefbfbdefbfbd6a7d045574efbfbd50045f19666fefbfbdefbfbd7befbfbd2953efbfbd22042d5f666fefbfbdefbfbd27efbfbdefbfbd14efbfbd0402efbfbd66efbfbdefbfbdefbfbd47efbfbdefbfbd38efbfbd040422106eefbfbdefbfbdefbfbdefbfbdefbfbd3f306fefbfbd042defbfbd715eefbfbdefbfbdca89efbfbd0f3676042d426a5fefbfbdefbfbd6a12efbfbd1f24efbfbd0442efbfbd5e1eefbfbde7bfb3456864efbfbd04542e5549efbfbdefbfbd7fefbfbd4327efbfbdefbfbd04efbfbdefbfbd531eefbfbd71efbfbd3322c985efbfbd047d02efbfbdefbfbd79efbfbd5e5fefbfbdefbfbd71efbfbd2604efbfbdefbfbd6c4defbfbdefbfbdefbfbdefbfbd265364efbfbd041d35540aefbfbd6d1c6cefbfbdefbfbd27efbfbd041defbfbd67783defbfbdefbfbd34efbfbdefbfbdefbfbd40040eefbfbd7233383befbfbd125aefbfbdefbfbd0c045aefbfbd74efbfbd7bd8847333e6a788045aefbfbd2fefbfbdc3a57d02efbfbd7d031eefbfbdefbfbd045a102dd3930eefbfbd39efbfbdefbfbd78140403efbfbdefbfbd63efbfbdefbfbdefbfbd27530b64efbfbd045f102339efbfbdefbfbd23efbfbd56efbfbd0862042d141b28330cefbfbd63efbfbd08c98c0478efbfbd003f017c0a0defbfbdefbfbdefbfbd10
    public static void main(String[] args) {

        // 从十六进制还原为字节数组
        byte[] recoveredData = hexToBytes("2321414d520a04efbfbd09efbfbdefbfbd7d04efbfbdefbfbd6018440004efbfbd337e73efbfbd18cbad2212efbfbd044e11efbfbdefbfbd33efbfbdefbfbd28efbfbd4defbfbd3a044e27efbfbdc3ab6a55efbfbdefbfbdefbfbdefbfbdefbfbd04efbfbdefbfbdefbfbd1aefbfbd3e0a4aefbfbdefbfbd4404efbfbd27efbfbdefbfbd7b6675efbfbd22efbfbdefbfbd6004efbfbd42efbfbd383befbfbd65efbfbd26efbfbdefbfbd7a04efbfbd0cefbfbdefbfbd730263efbfbdefbfbdefbfbdefbfbd3c04536560efbfbd13efbfbdefbfbdefbfbdefbfbdefbfbd6e0437efbfbd2fefbfbdefbfbd2defbfbd4fefbfbd1706efbfbd0455efbfbd5c09efbfbd0eefbfbdefbfbd6b08efbfbd1204efbfbd6146efbfbdefbfbdefbfbdefbfbdefbfbdefbfbd7b534c04efbfbdefbfbd78efbfbdefbfbd495a4e4eefbfbd1404482e70efbfbdefbfbdefbfbd595eefbfbd72d6aa04efbfbd0f777d05ddb3efbfbdefbfbdefbfbd4e6b260448efbfbd72efbfbdefbfbd1f5649d096efbfbdefbfbd04efbfbdefbfbd76efbfbdefbfbdf3b68baf495c6e04efbfbdefbfbd77efbfbdefbfbd7774efbfbd3f217d01efbfbd04efbfbdefbfbd79efbfbdefbfbdefbfbdefbfbdcdb204efbfbdefbfbd041eefbfbd7aefbfbdefbfbdefbfbdefbfbd28efbfbd78557e047d05317aefbfbdefbfbdceb4efbfbd26efbfbd4defbfbd0425437a6defbfbdefbfbd7d022b16efbfbd62041d2979efbfbdefbfbdefbfbd45efbfbd41401f7e0425efbfbd76efbfbdefbfbd6b50cdbfefbfbd42efbfbd0425efbfbd726eefbfbdefbfbdefbfbd62efbfbdefbfbd045aefbfbd72efbfbdefbfbd5a78efbfbdefbfbdefbfbdefbfbd041defbfbd71efbfbdefbfbd562defbfbd1211efbfbd320425efbfbd6eefbfbdefbfbd7d01efbfbd126befbfbd5e6a041defbfbd76efbfbdefbfbdefbfbd6eefbfbdefbfbdefbfbd63efbfbd041d077eefbfbdefbfbd166fefbfbdefbfbd1673020452efbfbdefbfbd0fefbfbd67efbfbdefbfbdefbfbd0738efbfbd04efbfbd47efbfbd2fefbfbdefbfbd4252efbfbdefbfbdefbfbd28042eefbfbdefbfbd3fefbfbdefbfbd3eefbfbdefbfbd39efbfbd7d0504044530efbfbdefbfbd2f5e6ac5882f04042e69efbfbd39efbfbd4e6aefbfbdefbfbd00efbfbd1404efbfbdefbfbdefbfbdefbfbdefbfbd6a36efbfbd050defbfbd7a041eefbfbd60efbfbdefbfbdefbfbd567d03efbfbd13efbfbd5804efbfbdefbfbd675fefbfbdefbfbd373560660d4c04efbfbdefbfbd6defbfbde99890efbfbdefbfbdefbfbdefbfbdefbfbd0448106f3cefbfbdefbfbdefbfbd7eefbfbd18efbfbd540448efbfbd6defbfbdefbfbdefbfbdefbfbdefbfbdefbfbd5cca940448376eefbfbdefbfbdefbfbd1aefbfbdefbfbd68efbfbd5e0448426f1eefbfbdefbfbdefbfbd7d02efbfbd64efbfbdefbfbd040e6b6cefbfbdefbfbdefbfbdefbfbdefbfbd1eefbfbd4befbfbd041d73677cefbfbdefbfbdefbfbdefbfbd6c364d5a04efbfbd116eefbfbdefbfbdefbfbdefbfbd77efbfbd3864efbfbd045aefbfbd72efbfbdefbfbdefbfbd567d05efbfbdefbfbd0d3a041d1273efbfbdefbfbd5766474e70efbfbd7a043eefbfbd773eefbfbdefbfbd67ca8b3defbfbd56041defbfbdefbfbdefbfbddeaa1f557d01efbfbd436404efbfbd6b7d01efbfbddcafefbfbd1722efbfbd76047d05efbfbd7e6eefbfbdefbfbdefbfbd3cefbfbdefbfbdefbfbdefbfbd045a0a7a6eefbfbdefbfbdefbfbd7d04efbfbdefbfbd35efbfbd047d026b753fefbfbd74efbfbdefbfbdcb8f27180410efbfbdefbfbdefbfbdefbfbdefbfbdefbfbd33550356efbfbd043cefbfbd72efbfbdd48f594c6cefbfbd2d02044e2d767fefbfbdefbfbd55efbfbdefbfbdefbfbdefbfbdefbfbd04efbfbd35766fefbfbdefbfbd69efbfbdefbfbd340b340447357b58efbfbd55efbfbd67efbfbdefbfbd24efbfbd041eefbfbd766cefbfbd1fefbfbd5aefbfbdefbfbd04efbfbd3d78efbfbdefbfbd29efbfbd2fefbfbdefbfbdefbfbd04efbfbdefbfbd76efbfbdd48d29747e11efbfbd4e04efbfbd6eefbfbdefbfbd29efbfbd6842efbfbd1eefbfbd0404efbfbd2f7d01efbfbdefbfbd6532efbfbd620554043e2f7b3c705aefbfbd721c2100efbfbd04efbfbd2f73deaa4238efbfbd76306befbfbd041d4e7befbfbdefbfbd33efbfbdefbfbdefbfbdefbfbd1c041defbfbd7b3eefbfbdefbfbd18efbfbdefbfbdd89cefbfbd04254e7cefbfbdefbfbd3fefbfbd1c7b4aefbfbd045aefbfbd7befbfbdc9ad50234fefbfbdefbfbd6804efbfbdefbfbd6defbfbd164830efbfbdefbfbdefbfbd14043befbfbd79efbfbdefbfbdefbfbdefbfbdefbfbd04060425efbfbd71efbfbdefbfbdefbfbdefbfbd4d7d05efbfbd1defbfbd04efbfbd6b6aefbfbdefbfbdefbfbd6befbfbddc8fefbfbd0004540a6fcf835a23efbfbd23efbfbd051c04257aefbfbd59efbfbd6279d5a17731efbfbd040fefbfbd0738efbfbd75efbfbd2b1713efbfbdefbfbd0431efbfbd47efbfbdefbfbdefbfbdefbfbdefbfbd777471efbfbd04efbfbd0321efbfbdefbfbdefbfbd32efbfbd37efbfbdefbfbd36040c28efbfbd5fefbfbdefbfbd7d05efbfbd2eefbfbd03080462efbfbd1fefbfbdefbfbdefbfbdefbfbdefbfbdefbfbd714604efbfbdefbfbd70efbfbdefbfbdefbfbd56efbfbd7414efbfbdefbfbd0471efbfbd7cefbfbdefbfbd1f2606efbfbd47731e04486275efbfbdefbfbd796aefbfbdefbfbdefbfbd0204efbfbd577cdfab4cefbfbdefbfbd19efbfbd392604efbfbdcc883cefbfbdefbfbd3903efbfbdefbfbd2befbfbd04efbfbdefbfbdefbfbd0eefbfbd65efbfbdefbfbd3c15efbfbdefbfbd04614d20efbfbdefbfbd63efbfbd6f02efbfbd2f2804efbfbd6f0b0fefbfbd461aefbfbd66efbfbd7d04efbfbd04efbfbdefbfbdefbfbdefbfbdefbfbd33d4b84cefbfbd0b4c04efbfbdefbfbd73efbfbdefbfbdefbfbdefbfbdd5a3262804efbfbdefbfbd7aefbfbdefbfbd09efbfbd7aefbfbdefbfbdefbfbd5e04efbfbd32efbfbd7fefbfbdefbfbd773b3342d49e04efbfbd057fefbfbdefbfbdefbfbdefbfbdefbfbd22efbfbdefbfbd36040f0befbfbd3eefbfbdcf9cefbfbdefbfbd692befbfbd04efbfbd54efbfbdefbfbdefbfbdefbfbd1e39efbfbd271404efbfbd0e0befbfbdefbfbd430a74efbfbdefbfbdefbfbd047d056e633fefbfbdefbfbdd1a2efbfbdefbfbd0aefbfbd04efbfbd2d75efbfbdefbfbdefbfbd16efbfbd652e276404efbfbd606f4eefbfbd57efbfbd15efbfbdefbfbd30efbfbd04546374efbfbdefbfbdefbfbdefbfbd3d2b7d01efbfbd04546079efbfbdefbfbd3aefbfbdefbfbdefbfbd1c3d7d0504efbfbd7aefbfbdd4aa69434defbfbd56640442efbfbd7cefbfbdefbfbdefbfbd47784c2157efbfbd0423cf884fefbfbdefbfbd567d02681039efbfbd0442efbfbd7aefbfbdefbfbd7d05efbfbd0f502017efbfbd041e1d7aefbfbdefbfbddf98224eefbfbdefbfbdefbfbd041eefbfbd7f59efbfbdefbfbd6befbfbdefbfbdefbfbdefbfbd04421d7aefbfbde0be964befbfbd40efbfbdefbfbd044209772eefbfbdefbfbdcabb54efbfbd430204efbfbdefbfbd73efbfbdd7897c243d472eefbfbd04efbfbd0978efbfbdefbfbdefbfbd1948693f0e3204543576efbfbdefbfbd14efbfbd027502efbfbdefbfbd04546376efbfbdefbfbd53efbfbd6cefbfbd11efbfbd3204efbfbdefbfbd76efbfbdefbfbd56efbfbd20594befbfbd0c04efbfbdefbfbd75efbfbdefbfbdefbfbdefbfbd21efbfbd3c2defbfbd047d02efbfbd6eefbfbdefbfbdefbfbd56efbfbd66efbfbd720442efbfbd6e7eefbfbdefbfbd55d6be4703efbfbd04efbfbd7d05743eefbfbd70efbfbd37efbfbdefbfbd67efbfbd04d3ac6e6defbfbdefbfbd41efbfbd4548051c04efbfbdefbfbd72efbfbdd982efbfbdefbfbdefbfbd7d03efbfbd16041defbfbd733fefbfbd75efbfbd54efbfbdefbfbd430c04efbfbd4e74efbfbdefbfbd1b3defbfbdefbfbd41efbfbdefbfbd047d05efbfbd71efbfbde7aebdefbfbd51092904043eefbfbd75efbfbdefbfbdefbfbd4cd6b1efbfbd220454efbfbd77efbfbdefbfbdd5bb69efbfbd68efbfbd0204efbfbd6eefbfbd693befbfbd13d1a5c78c041e66efbfbdefbfbdefbfbd070a3912203cefbfbd04347e7f0eefbfbd2639efbfbdefbfbdefbfbd78efbfbd04efbfbd4732efbfbdefbfbdefbfbd52efbfbd4568efbfbd4c0475efbfbd77efbfbdefbfbd7e23184364446e04693c176eefbfbd6e22efbfbdefbfbd2defbfbdefbfbd043e12efbfbd29efbfbd4e70efbfbd182d6fefbfbd041d0768efbfbdefbfbdefbfbdefbfbd39efbfbd54efbfbd5e04efbfbd186eefbfbdefbfbdefbfbdefbfbd3aefbfbdefbfbd6f2e04efbfbdefbfbd727eefbfbdefbfbdefbfbd2e7d0546efbfbdefbfbd0447efbfbd76efbfbdefbfbdefbfbd634c5eefbfbd58efbfbd0471efbfbd72efbfbdefbfbd3e0c2eefbfbd14777d050471efbfbd72efbfbdefbfbd5e604fefbfbdefbfbd11efbfbd04efbfbdefbfbd726cefbfbdefbfbd5aefbfbdefbfbd396804efbfbdefbfbd72efbfbdefbfbdefbfbd5cefbfbd3174efbfbdefbfbd041d3275efbfbdefbfbdefbfbdefbfbd4aefbfbd4defbfbd7c0410efbfbd76efbfbdefbfbdefbfbdefbfbdefbfbd7aefbfbd1a360423efbfbd766eefbfbdefbfbdd19aefbfbdc8953c0423efbfbd72efbfbdefbfbdefbfbdefbfbdefbfbd7d05efbfbd0404100a72efbfbdefbfbd54efbfbdefbfbd05efbfbd4c04efbfbd0a72efbfbdefbfbdefbfbd202defbfbd523f0e04efbfbd377269efbfbdefbfbd5ec7a8efbfbd16043c1171efbfbdefbfbd4d77efbfbdd4ab3d1404efbfbd09726defbfbdefbfbd50efbfbd3668efbfbd7204464b71efbfbdefbfbdefbfbdc5b94befbfbd5804192d72efbfbdefbfbd7befbfbd31efbfbd6f58efbfbd04324b6f2fefbfbdefbfbd5eefbfbd646109efbfbd04704f6eefbfbdefbfbdefbfbd5e12efbfbd65efbfbdefbfbd04efbfbdefbfbd6e6defbfbd02efbfbd68efbfbdefbfbd1004701d696ed9abefbfbdefbfbd20efbfbd10efbfbd04efbfbdefbfbd66efbfbdefbfbdefbfbdefbfbd53efbfbdefbfbdefbfbd04efbfbdefbfbd62efbfbdd9ac6f274aefbfbd1befbfbd04efbfbdefbfbd62efbfbdefbfbdefbfbd575545efbfbdefbfbdefbfbd0447efbfbd633befbfbd4320efbfbd7d026aefbfbd22041eefbfbd66efbfbdefbfbdefbfbdefbfbd3c3eefbfbdefbfbd0a04efbfbdefbfbd7b31efbfbdefbfbd7d02c3a4d3831404efbfbd49efbfbdefbfbdefbfbd33efbfbd5f2defbfbd73efbfbd04efbfbdefbfbd53d890efbfbdefbfbdefbfbd77304604efbfbdefbfbd5a1fefbfbdd88cefbfbdefbfbdefbfbdefbfbd1c04efbfbdefbfbd0befbfbdefbfbd14470cefbfbdda8a04efbfbdefbfbd280fefbfbd56381aefbfbdefbfbd0468efbfbd3e5cefbfbdefbfbd1737c48eefbfbd02041defbfbd3cefbfbdefbfbdefbfbdefbfbd05efbfbd1cefbfbd0402efbfbd5aefbfbdefbfbdefbfbd7d056befbfbd56c4bc04efbfbdefbfbd5eefbfbdefbfbdefbfbd6f3f41efbfbdefbfbdefbfbd047d050165efbfbdefbfbd425542efbfbd1622efbfbd04efbfbd1078efbfbdefbfbd6defbfbd49efbfbd30571404efbfbdefbfbd6b7eefbfbd1e077d01efbfbd070434047d05efbfbdefbfbd73efbfbd7eefbfbdcda428efbfbdefbfbd043eefbfbd377eefbfbdefbfbdefbfbdefbfbd0cd7ba04023134efbfbdefbfbdefbfbdefbfbd4969360defbfbd04026cefbfbd1fefbfbd7aefbfbd64537d04000004efbfbd120f1f3defbfbd4aefbfbd761434efbfbd04efbfbd6b0cefbfbdefbfbd2eefbfbd3e4b077d030804efbfbd6b20efbfbdefbfbd6cefbfbdefbfbdefbfbd36efbfbdefbfbd04676b3079efbfbd024aefbfbdefbfbdefbfbd21060460efbfbd20efbfbd28efbfbd6e2860efbfbd00047d02efbfbd4b3cefbfbd01efbfbdefbfbdefbfbdefbfbd690a041b0776c39b1defbfbd430250efbfbdefbfbd0401efbfbd1e7713efbfbdefbfbd731342efbfbdefbfbd047d026c233510efbfbd1b430655efbfbd1a040108efbfbd0713efbfbdefbfbddeb2200018040042efbfbdefbfbd3cefbfbd1259efbfbdefbfbd02460401efbfbd176703efbfbd1bcabd642fefbfbd041a42efbfbd232befbfbdefbfbdefbfbd231cefbfbd047d027d05efbfbd781b123441efbfbdefbfbd3f5604101441efbfbd14efbfbdefbfbd3befbfbd58efbfbd7d04043c00efbfbdefbfbd6cefbfbdefbfbd0f6e6cefbfbdefbfbd045a7444304b37efbfbdefbfbdefbfbdefbfbd1804426b3defbfbd7d04697d0548d2b67e5e04efbfbdefbfbd482b7c43efbfbdefbfbdefbfbd4aefbfbd7d04041eefbfbd41efbfbd66efbfbdefbfbdcab2efbfbd100442efbfbdefbfbd4253efbfbdefbfbd4ccbb45204232eefbfbd3c277275efbfbdefbfbd464e04efbfbd372fefbfbd5314efbfbdefbfbdefbfbd0eefbfbd5c041009efbfbd05662f0623695120740470efbfbd0f293cefbfbd2defbfbd4a01583a047010efbfbd45681cefbfbd607d054f083204324befbfbd1befbfbdefbfbd6aefbfbdefbfbd34efbfbd04706618efbfbd28efbfbd2befbfbd64efbfbd2defbfbd04efbfbdefbfbd2befbfbd16efbfbd5566efbfbd3f3816041017efbfbd450befbfbdefbfbd7d05efbfbd683e040014efbfbdefbfbd3befbfbdefbfbd69efbfbd15efbfbd4004efbfbd51efbfbd021635efbfbd4aefbfbd113befbfbd04efbfbd0a27efbfbd1befbfbdefbfbd75efbfbd7000efbfbd04efbfbd1227efbfbd1bc8b4efbfbdefbfbd6040efbfbd04341a5eefbfbd1cefbfbdefbfbdefbfbdefbfbd1defbfbd2e04580aefbfbd0318667b0731efbfbd32efbfbd04efbfbd6cefbfbdefbfbd7d0215c4bfefbfbd493c0c04d29eefbfbd3023efbfbd3aefbfbdefbfbdefbfbd5eefbfbd0418efbfbd12efbfbd1befbfbdefbfbd6befbfbd20497804180938efbfbd2befbfbdefbfbdefbfbdefbfbdefbfbd1d6a043273efbfbd6263efbfbd4defbfbdd294efbfbd0418efbfbd38efbfbd00efbfbd1a6befbfbd53efbfbdefbfbd04686cefbfbd5327efbfbdefbfbd3cefbfbd4fefbfbdefbfbd04780768261c62efbfbdefbfbdefbfbdefbfbd526404efbfbd6c34efbfbd2eefbfbdefbfbd4fefbfbd24c6a804efbfbd42efbfbdefbfbd1b7d0354efbfbdefbfbdefbfbd08380470efbfbd1fefbfbd3e6befbfbdefbfbd3d3408efbfbd043cefbfbdefbfbd323befbfbdefbfbdefbfbdefbfbd4648240452efbfbdefbfbd100475332befbfbd6cefbfbd48045f1eefbfbdefbfbd3849efbfbd7d01efbfbd430112041053efbfbdefbfbd46efbfbdefbfbdefbfbde0aaa8efbfbd04efbfbd1e45304b3cefbfbd35efbfbd4562efbfbd0423002fefbfbd1d52efbfbd36efbfbd13491c041066540523efbfbdefbfbd6151437f3a0410efbfbdefbfbd0206efbfbdd4afefbfbd4304efbfbd04efbfbd51efbfbdefbfbd18efbfbdefbfbd71efbfbd3815efbfbd04522257efbfbd08efbfbdefbfbdefbfbd6eefbfbdefbfbd14043c0fefbfbdefbfbd08efbfbdefbfbd19efbfbdefbfbd6a04efbfbd7d0139efbfbd014eefbfbd31efbfbdefbfbdefbfbdefbfbd04efbfbdefbfbd0353efbfbd7843efbfbdefbfbd240c5204ed899a4a31efbfbdefbfbd10d8aa28efbfbd04efbfbdefbfbd73db81efbfbd36efbfbdefbfbd52efbfbd660420562208efbfbd34efbfbd7965dabf0e04683b275539e883b3efbfbd706b2004efbfbd7aefbfbd24efbfbdefbfbdefbfbdefbfbdefbfbd33d89e04efbfbd66efbfbd47790252efbfbdefbfbdefbfbdefbfbd220442efbfbd44efbfbdefbfbd78d5b00d7fefbfbdefbfbd045aefbfbd730fefbfbdefbfbdefbfbdc49c0b5c1e041a2b64efbfbdefbfbdefbfbd76793b0b600a0467736a7fefbfbdefbfbd1eefbfbd7d036befbfbdefbfbd041a4b6aefbfbdefbfbdefbfbdefbfbd1b4defbfbd7d02efbfbd0429efbfbd73efbfbdefbfbdefbfbd76016cefbfbd7d013204efbfbd4b7aefbfbdefbfbd6f27efbfbd7017efbfbd7d0504efbfbde4a18eefbfbdefbfbd02efbfbd2dd6b7efbfbd04184befbfbdefbfbdefbfbdefbfbdefbfbd6a57efbfbdefbfbd04efbfbd2b67efbfbdefbfbdefbfbd2e03efbfbd48cdb4041aefbfbd5cefbfbdefbfbdefbfbdefbfbd40c4b4787d050425efbfbd7d02efbfbdefbfbdefbfbd57efbfbdefbfbd0234045f7d0567efbfbdefbfbddbac424aefbfbd7f1c042defbfbd69efbfbdefbfbdefbfbdefbfbd70efbfbd75efbfbd04027362efbfbdefbfbdefbfbd3aefbfbdefbfbdefbfbd6befbfbd04221167efbfbdefbfbdefbfbd7a062e1c08efbfbd042d5f6aefbfbdefbfbdefbfbd6a7d045574efbfbd50045f19666fefbfbdefbfbd7befbfbd2953efbfbd22042d5f666fefbfbdefbfbd27efbfbdefbfbd14efbfbd0402efbfbd66efbfbdefbfbdefbfbd47efbfbdefbfbd38efbfbd040422106eefbfbdefbfbdefbfbdefbfbdefbfbd3f306fefbfbd042defbfbd715eefbfbdefbfbdca89efbfbd0f3676042d426a5fefbfbdefbfbd6a12efbfbd1f24efbfbd0442efbfbd5e1eefbfbde7bfb3456864efbfbd04542e5549efbfbdefbfbd7fefbfbd4327efbfbdefbfbd04efbfbdefbfbd531eefbfbd71efbfbd3322c985efbfbd047d02efbfbdefbfbd79efbfbd5e5fefbfbdefbfbd71efbfbd2604efbfbdefbfbd6c4defbfbdefbfbdefbfbdefbfbd265364efbfbd041d35540aefbfbd6d1c6cefbfbdefbfbd27efbfbd041defbfbd67783defbfbdefbfbd34efbfbdefbfbdefbfbd40040eefbfbd7233383befbfbd125aefbfbdefbfbd0c045aefbfbd74efbfbd7bd8847333e6a788045aefbfbd2fefbfbdc3a57d02efbfbd7d031eefbfbdefbfbd045a102dd3930eefbfbd39efbfbdefbfbd78140403efbfbdefbfbd63efbfbdefbfbdefbfbd27530b64efbfbd045f102339efbfbdefbfbd23efbfbd56efbfbd0862042d141b28330cefbfbd63efbfbd08c98c0478efbfbd003f017c0a0defbfbdefbfbdefbfbd10");
        String file = "C:\\Users\\Administrator\\IdeaProjects\\demo\\Utils\\watch-reflect\\src\\main\\java\\cn\\lcc\\utils\\core\\utils\\test.amr";
        String outfile = "C:\\Users\\Administrator\\IdeaProjects\\demo\\Utils\\watch-reflect\\src\\main\\java\\cn\\lcc\\utils\\core\\utils\\test.mp3";
        try (FileOutputStream fos = new FileOutputStream("C:\\Users\\Administrator\\IdeaProjects\\demo\\Utils\\watch-reflect\\src\\main\\java\\cn\\lcc\\utils\\core\\utils\\test.amr")) {
            fos.write(recoveredData);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        audioEncode(file,outfile);
    }

    /**
     * 音频格式转换
     * @param inputFormatPath
     * @param outputFormatPath
     * @return
     */
    public static boolean audioEncode(String inputFormatPath, String outputFormatPath) {
        String outputFormat = getSuffix(outputFormatPath);
        String inputFormat = getSuffix(inputFormatPath);
        File source = new File(inputFormatPath);
        File target = new File(outputFormatPath);
        try {
            MultimediaObject multimediaObject = new MultimediaObject(source);
            // 获取音频文件的编码信息
            MultimediaInfo info = multimediaObject.getInfo();
            AudioInfo audioInfo = info.getAudio();
            //设置音频属性
            AudioAttributes audio = new AudioAttributes();
            audio.setBitRate(audioInfo.getBitRate());
            audio.setSamplingRate(audioInfo.getSamplingRate());
            audio.setChannels(audioInfo.getChannels());
            // 设置转码属性
            EncodingAttributes attrs = new EncodingAttributes();
            attrs.setInputFormat(inputFormat);
            attrs.setOutputFormat(outputFormat);
            attrs.setAudioAttributes(audio);
            // 音频转换格式类
            Encoder encoder = new Encoder();
            // 进行转换
            encoder.encode(new MultimediaObject(source), target, attrs);
            return true;
        } catch (IllegalArgumentException | EncoderException e) {
            e.printStackTrace();
        }
        return false;
    }

    /**
     * 获取文件路径的.后缀
     * @param outputFormatPath
     * @return
     */
    private static String getSuffix(String outputFormatPath) {
        return outputFormatPath.substring(outputFormatPath.lastIndexOf(".") + 1);
    }



    public static String bytesToHex(byte[] bytes) {
        StringBuilder hexString = new StringBuilder();
        for (byte b : bytes) {
            String hex = Integer.toHexString(0xff & b);
            if (hex.length() == 1) {
                hexString.append('0');
            }
            hexString.append(hex);
        }
        return hexString.toString();
    }

    public static byte[] hexToBytes(String hexString) {
        int len = hexString.length();
        byte[] data = new byte[len / 2];
        for (int i = 0; i < len; i += 2) {
            data[i / 2] = (byte) ((Character.digit(hexString.charAt(i), 16) << 4)
                                 + Character.digit(hexString.charAt(i+1), 16));
        }
        return data;
    }
}